<!--
 * @Date: 2022-01-07 13:42:07
 * @Version: 1.0.0
 * @Author: chenhengling
 * @Description: 年选择器组件公共模板
 * @FilePath: \ant-year-picker\src\components\yearPicker\template.html
 * @LastEditTime: 2022-01-10 10:43:05
 * @LastEditors: chenhengling
-->
<date-picker
  v-bind="[$props]"
  v-on="$listeners"
  :value="currentValue"
  mode="year"
  :open="currentOpen"
  @panelChange="handlePanelChange"
  @openChange="handleOpenChange"
  @change="handleChange"
>
  <template v-for="(cmp, name) in $scopedSlots" #[name]="...args">
    <pass-slot :cmp="cmp" :args="args" :key="name" />
  </template>
</date-picker>
